Skip to content

Use published dependency by default in examples#665

Merged
sebsto merged 7 commits into
mainfrom
chore/examples
May 11, 2026
Merged

Use published dependency by default in examples#665
sebsto merged 7 commits into
mainfrom
chore/examples

Conversation

@sebsto
Copy link
Copy Markdown
Collaborator

@sebsto sebsto commented May 11, 2026

Summary

Examples now default to the published swift-aws-lambda-runtime package from GitHub, so they work out of the box when cloned standalone (as described in the READMEs).

CI scripts swap the dependency to the local path (../..) before building, ensuring we still test against the current branch.

Changes

  • Examples/APIGatewayV2/Package.swift — Default to remote URL, local path is commented out with clear instructions.
  • .github/workflows/scripts/use-local-deps.sh (new) — Shared script that rewrites Package.swift to use the local dependency.
  • integration_tests.sh, check-archive-plugin.sh, check-link-foundation.sh — Source use-local-deps.sh before building.

Testing

This PR exercises the CI change on the APIGatewayV2 example. Once green, the same pattern will be applied to all other examples.

@sebsto sebsto self-assigned this May 11, 2026
@sebsto sebsto added the semver/none No version bump required. label May 11, 2026
@sebsto sebsto merged commit ddad9b9 into main May 11, 2026
52 of 53 checks passed
@sebsto sebsto deleted the chore/examples branch May 11, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant